package week1.day2;

import java.util.Scanner;

/**
 * @Author fengzihao
 * @Date 2024-04-16 19:35
 */
public class JudgeScore {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        if (score<0||score>100)
            System.out.println("你输入的成绩有误！");
        else if (score<60) {
            System.out.println("不及格");
        } else if (score<70) {
            System.out.println("及格");
        } else if (score<80) {
            System.out.println("中");
        } else if (score<90) {
            System.out.println("良");
        }else
            System.out.println("优");
    }
}
